package cn.wolfcode.service;

import cn.wolfcode.domain.Permission;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Set;

public interface IPermissionService {

    void insert(Permission permission) ;

    void delete(Long id) ;

    void update(Permission permission) ;

    Permission selectById(Long id) ;

    List<Permission> selectAll();

    PageInfo<Permission> query(QueryObject qo);


    void batchInsert(Set<Permission> permissions);

    List<String> selectAllExpression(Long employeeId);
}
